#include <iostream>
#include "utils.h"
#include "../src/ExtXml.h"
#include "block_maker.h"

using namespace net;
using namespace rapidxml;

int main(int argc, char* argv[]) {

	std::cout << "Hello world!" << std::endl;

	ExtXml xml;
	ExtXml xml2;

	makeBlock(xml, 20);

	std::string rx;
	std::vector<char> rx_vector, rx_vector2;

	rx_vector = xml.toVector();
	xml2.fromVector(rx_vector);
	rx = xml2.toString();

	std::cout << rx << std::endl;

}
